package com.ecode.ocr.config;

import io.swagger.annotations.ApiModelProperty;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
public class JdCloudConfig {

    @Value("${accessKey}")
    public String accessKey;

    @Value("${secretKey}")
    public String secretKey;

    @Value("${endPoint}")
    public String endPoint;

    @Value("${method}")
    public String method;

    @ApiModelProperty("身份证识别")
    @Value("${id-card-path}")
    public String idCardPath;

    @ApiModelProperty("营业执照识别")
    @Value("${ocr-business-path}")
    public String ocrBusinessPath;

    @ApiModelProperty("增值税发票识别")
    @Value("${ocr-invoice-path}")
    public String ocrInvoicePath;
}
